package com.decent;

import com.decent.service.OrderService;
import com.decent.service.impl.OrderServiceImpl;
import com.decent.util.ScheduledGetOrder;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@MapperScan("com.decent.dao")
@EnableTransactionManagement
@EnableAspectJAutoProxy
public class Text331Application {

    @Autowired
    private OrderService orderService;

    public static void main(String[] args) {
        SpringApplication.run(Text331Application.class, args);

//        new ScheduledGetOrder().getOrder(new OrderServiceImpl());
    }

}
